{% extends 'extend/basic.html' %}
{% block content %}
<div class="row-fluid">
            <div class="span9">
                    <div class="widget-header widget-header-flat">

                            <!-- 代码更新 -->
                                 <div class="widget-header widget-header-flat">
                        <h4 class="lighter">
                            代码更新
                        </h4>
                    </div>

{#                 <h5>请复制第一步执行结果中的DataVersion到文本框，并点击提交.</h5>#}
                             <form id= 'jptest' role="form" action='{{ url_for('main.code') }}'  method='POST'>
                                      <button type="submit" class="btn btn-success"> 提交 </button>
                            </form>
            </div>
{% if data %}
    <div class="span4">
        <div class="row">
            <div class="col-sm-10">
                <div class="widget-box transparent">
                    <div class="widget-header widget-header-flat">
                        <h4 class="lighter">
                            执行结果
                        </h4>
                    </div>
                        <textarea style="margin: 0px 0px 10px; height: 200px; width: 600px; background-color: black;color: green">
{% for v in data %}
------Result------
{{ v }}
{% endfor %}
                        </textarea>
                    </div>
                </div>
            </div>
        </div>
        {% endif %}
</div>
{% endblock %}
